package cn.gok.plusdemo.dao;

import cn.gok.plusdemo.entity.Student;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author 林
 * @since 2022-07-22
 */
@Mapper
public interface StudentDao extends BaseMapper<Student> {
@Select("select * from student where cid=#{cid}")
Student findStudentByCid(long cid);
}
